/**
 * jims
 */
package com.jims.master.modules.operation.entity;

import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

/**
 * icd9编码对照Entity
 * @author zhuq
 * @version 2017-05-12
 */
public class Icd9ItemClass extends DataEntity<Icd9ItemClass> {
	
	private static final long serialVersionUID = 1L;
	private String icdCode;		// 手术操作代码
	private String icdName;		// icd名称
	
	public Icd9ItemClass() {
		super();
	}

	public Icd9ItemClass(String id){
		super(id);
	}

	@Length(min=1, max=64, message="手术操作代码长度必须介于 1 和 64 之间")
	public String getIcdCode() {
		return icdCode;
	}

	public void setIcdCode(String icdCode) {
		this.icdCode = icdCode;
	}
	
	@Length(min=1, max=50, message="icd名称长度必须介于 1 和 50 之间")
	public String getIcdName() {
		return icdName;
	}

	public void setIcdName(String icdName) {
		this.icdName = icdName;
	}
	
}